	<div class="container-fluid">
		<div class="row text-center">
			<div class="col-xs-4">
				<a href=""><i class="fa fa-bars"></i></a>
			</div>
			<div class="col-xs-4">
				<h4>Danh sách của bạn</h4>
			</div> 
			<div class="col-xs-4">
				<a href=""><i class="fa fa-plus"></i></a>
			</div>
		</div>
		
			<?php foreach($houses as $item):?>
		<div class="row">
			<div class="col-xs-4">
				<?php 
					if(isset($item['HouseImage'][0]['imageUrl']))
					{
						echo $this->Html->image($item['HouseImage'][0]['imageUrl'],array('alt' => '', ));	
					}else
					{
						echo $this->Html->image('default.jpg',array('alt' => ''));
					}
				?>
			</div>
			<div class="col-xs-8">
				<h4>
				<?php
					if($item['House']['title'] != '')
					{
						echo $item['House']['title'];
					}else
					{
						echo $item['TypeOfSpace']['spaceTitle'].' - '.$item['TypeOfPlace']['placeTitle'];
					}
				?>
				</h4>
			</div>
			<?php 
				endforeach;unset($item); 
			?>
		</div>
		<div class="row">
			<?php
				echo $this->Html->link('+ Thêm',array('controller' => 'houses', 'action' => 'listyourspace', 'full_base' => true));
			?>
		</div>
	</div>
	
